Cocktail Help Reference
Include(Expression<Func<T,Object>>) Method
See Also  Send Feedback
Cocktail Assembly > Cocktail Namespace > IFetchOptions<T> Interface > Include Method : Include(Expression<Func<T,Object>>) Method



expr
An expression returning the navigation property.

Glossary Item Box

Configures eager fetching for related entities in the specified query path.

Syntax

Visual Basic (Declaration) 
Overloads Function Include( _
   ByVal expr As Expression(Of Func(Of T,Object)) _
) As IFetchOptions(Of T)
Visual Basic (Usage)Copy Code
Dim instance As IFetchOptions(Of T)
Dim expr As Expression(Of Func(Of T,Object))
Dim value As IFetchOptions(Of T)
 
value = instance.Include(expr)

Parameters

expr
An expression returning the navigation property.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.